package enum_package;

enum Vowels {A, E, I, O, U}

class test
{   
    enum xyz {x,y,z};
    
    Vowels v;
    xyz var;
    
}
public class testEnum
{
    public static void main(String[] args)
    {
        test t = new test();
        t.v = Vowels.A;
        System.out.println(Vowels.A);
        System.out.println(t.v);
        
        t.var = test.xyz.x;
        System.out.println(test.xyz.x);
        System.out.println(t.var);

    }
}
